package com.cy.mall.model.vo.goods;

import java.math.BigDecimal;

import com.cy.mall.comm.annotation.OssUrl;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 商品列表字段
 *
 * @author tanyilin
 *
 * @create 2019年1月24日 下午6:09:30
 */
@Data
@OssUrl
@ApiModel("商品列表字段")
public class GoodsListVO {

	@ApiModelProperty(value = "商品ID", example = "0")
	private Long goodsId;
	
	@ApiModelProperty(value = "对应贷款产品ID", example = "0")
	private Long productId;
	
	@ApiModelProperty(value = "名称")
	private String name;
	
	@ApiModelProperty(value = "价格", example = "0.00")
	private BigDecimal price;
	
	@ApiModelProperty(value = "利率", example = "0.00")
	private BigDecimal rate;
	
	@ApiModelProperty(value = "期数", example = "0")
	private Integer periods;
	
	@ApiModelProperty(value = "还款方式")
	private String repayType;
	
	@ApiModelProperty(value = "列表显示图片地址")
	@OssUrl
	private String displayImage;
}
